.class Lcom/htc/android/footprints/utils/StorageUtil$1;
.super Landroid/content/BroadcastReceiver;
.source "StorageUtil.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/utils/StorageUtil;-><init>(Landroid/content/Context;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/utils/StorageUtil;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/utils/StorageUtil;)V
    .locals 0
    .parameter

    .prologue
    .line 60
    iput-object p1, p0, Lcom/htc/android/footprints/utils/StorageUtil$1;->this$0:Lcom/htc/android/footprints/utils/StorageUtil;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 3
    .parameter "context"
    .parameter "intent"

    .prologue
    const/4 v2, 0x1

    .line 61
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object v0

    .line 62
    .local v0, action:Ljava/lang/String;
    const-string v1, "android.intent.action.MEDIA_MOUNTED"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    .line 63
    iget-object v1, p0, Lcom/htc/android/footprints/utils/StorageUtil$1;->this$0:Lcom/htc/android/footprints/utils/StorageUtil;

    #calls: Lcom/htc/android/footprints/utils/StorageUtil;->setState(I)V
    invoke-static {v1, v2}, Lcom/htc/android/footprints/utils/StorageUtil;->access$000(Lcom/htc/android/footprints/utils/StorageUtil;I)V

    .line 81
    :cond_0
    :goto_0
    return-void

    .line 64
    :cond_1
    const-string v1, "android.intent.action.MEDIA_UNMOUNTED"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_2

    .line 65
    iget-object v1, p0, Lcom/htc/android/footprints/utils/StorageUtil$1;->this$0:Lcom/htc/android/footprints/utils/StorageUtil;

    const/4 v2, 0x2

    #calls: Lcom/htc/android/footprints/utils/StorageUtil;->setState(I)V
    invoke-static {v1, v2}, Lcom/htc/android/footprints/utils/StorageUtil;->access$000(Lcom/htc/android/footprints/utils/StorageUtil;I)V

    goto :goto_0

    .line 73
    :cond_2
    const-string v1, "android.intent.action.MEDIA_SHARED"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    .line 74
    iget-object v1, p0, Lcom/htc/android/footprints/utils/StorageUtil$1;->this$0:Lcom/htc/android/footprints/utils/StorageUtil;

    const/4 v2, 0x6

    #calls: Lcom/htc/android/footprints/utils/StorageUtil;->setState(I)V
    invoke-static {v1, v2}, Lcom/htc/android/footprints/utils/StorageUtil;->access$000(Lcom/htc/android/footprints/utils/StorageUtil;I)V

    goto :goto_0

    .line 75
    :cond_3
    const-string v1, "android.intent.action.DEVICE_STORAGE_LOW"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    .line 76
    invoke-static {v2}, Lcom/htc/android/footprints/utils/StorageUtil;->access$102(Z)Z

    goto :goto_0

    .line 77
    :cond_4
    const-string v1, "android.intent.action.DEVICE_STORAGE_OK"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 78
    const/4 v1, 0x0

    invoke-static {v1}, Lcom/htc/android/footprints/utils/StorageUtil;->access$102(Z)Z

    goto :goto_0
.end method
